package com.guiji.job.mapper;

import com.guiji.job.domain.JobMarkRecord;
import com.guiji.common.core.mybatisplus.core.BaseMapperPlus;
import com.guiji.common.core.mybatisplus.cache.MybatisPlusRedisCache;
import com.guiji.job.vo.JobLabelVo;
import org.apache.ibatis.annotations.CacheNamespace;

/**
 * 任务打标记录Mapper接口
 *
 * @author 钟维澎（四月）
 * @date 2021-07-02
 */
// 如使需切换数据源 请勿使用缓存 会造成数据不一致现象
//@CacheNamespace(implementation = MybatisPlusRedisCache.class, eviction = MybatisPlusRedisCache.class)
public interface JobMarkRecordMapper extends BaseMapperPlus<JobMarkRecord> {
	JobLabelVo selectOneRecord(Long jobId);
}
